Calling awk and not gawk in the Xen scripts
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 19 Apr 2010 08:00:30 +0000 (09:00 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 19 Apr 2010 08:00:30 +0000 (09:00 +0100)
commitf770264fe1f91d685499179e0e9c339fa0aaa6a8
tree96f2387aa748beecaff835c32370272643e2d343
parent04dffa0be959268a5165b59c389656c8e33b6598
Calling awk and not gawk in the Xen scripts

I noticed that 2 scripts in Xen 4.0.0 are calling "gawk". Normally, in
most distributions, gawk is considered a specific version of awk.
Calling "gawk" and not "awk" generally means that you need
specificities of the "g" version of awk, as opposed to "mawk" which is
another implementation of the same tool.

So, unless I misread the scripts, Xen doesn't need to use gawk but
just any implementation of awk, and the attached patch can safely be
applied.

If I am wrong (which I don't think I am at the first look) and that
there's a reason why gawk is used and not awk, then IMHO, the toplevel
README should mention it in the prerequisites.

From: Thomas Goirand <thomas@goirand.fr>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/hotplug/Linux/network-bridge
tools/hotplug/Linux/vtpm-common.sh